<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>单文件上传</h1>
<form method="POST" action="/upload" enctype="multipart/form-data">
    <input type="file" name="file"/><br/><br/>
    <input type="submit" value="submit"/>
</form>
<h1>多文件上传</h1>
<form method="POST" action="/mulupload" enctype="multipart/form-data">
    <input type="file" name="files" multiple/><br/><br/>
    <input type="submit" value="submit"/>
</form>
<h1>文件下载</h1>
<a th:href="@{/download(path=${'f70632c7-bd83-4a59-beee-0de0fc71772f..jpg'})}" class="btn btn-primary">下载本地文件</a><br/><br/>
<a th:href="@{/downloadLocal(path=${'E://temp//f70632c7-bd83-4a59-beee-0de0fc71772f..jpg'})}" class="btn btn-primary">下载本地文件1</a><br/><br/>
<a th:href="@{/downloadLocal2(file=${'f70632c7-bd83-4a59-beee-0de0fc71772f..jpg'})}" class="btn btn-primary">下载本地文件2</a><br/>
<!--<a th:href="@{/netDownloadLocal(netAddress=${'https://img-blog.csdnimg.cn/e8ec03cf19874ef29fc3aafd1586b6c2.png'},path=('/tmp'))}" class="btn btn-primary">下载网络文件到本地</a><br/>-->
<a th:href="@{/netDownLoadNet1(netAddress=${'https://img-blog.csdnimg.cn/e8ec03cf19874ef29fc3aafd1586b6c2.png'},filename=('e8ec03cf19874ef29fc3aafd1586b6c2.png'),isOnLine=(0))}" class="btn btn-primary">下载网络文件到本地2</a>



</body>
</html>